package com.after.saas.user.mapper;

import com.after.saas.user.model.User;
import com.after.saas.common.model.query.UserQuery;
import com.after.saas.common.model.vo.UserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hjchen
 * @since 2021-07-17
 */
public interface UserMapper extends BaseMapper<User> {

    UserVO findOne(UserQuery query);

    List<UserVO> listPage(UserQuery query);
}
